<template lang='pug'>
    .tree-empty
        .icon
        .tip {{ tip }}
</template>
<script>
export default {
    props: {
        tip: {
            default: '暂无数据'
        }
    },
    components: {},
    data() {
        return {}
    },
    computed: {},
    watch: {},
    created() {},
    mounted() {},
    methods: {},
}
</script>
<style lang="sass" scoped>
    $empty: '~@/assets/images/empty.png'
    .tree-empty
        display: flex
        flex-direction: column
        justify-content: center
        align-items: center
        padding: 10px
        .icon
            width: 130px
            height: 130px
            background: url($empty)
            background-size: cover
            background-position: center
        .tip
            font-size: 14px
            line-height: 20px
            font-weight: 400
            color: #999999
</style>
